import { defineStore } from 'pinia'
// @ts-ignore
export const useUsersStore = defineStore("user", {
    state: () => ({
            name:null,
            role:null,
            token:null

    }),
    persist: {
        enabled: true,
    },
    }
)
export const webscoketObject = defineStore("websockets", {
        state: () => ({
            ws:null,
            msg:null,
        }),
        persist: {
            enabled: true,
        },
    }
)
